/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const manuscriptsRouter = {
  path: '/manuscript',
  component: Layout,
  redirect: 'noRedirect',
  name: 'manuscript',
  meta: {
    title: '稿件管理',
    icon: 'excel'
  },
  children: [
    {
      path: 'audit',
      component: () => import('@/views/manuscripts/audit'),
      name: 'AuditManuscript',
      meta: { title: '审核稿件', noCache: true }
    },
    {
      path: 'show-news',
      component: () => import('@/views/manuscripts/show-news'),
      name: 'ShowNews',
      meta: { title: '查看稿件', noCache: true }
    },
    {
      path: 'complaint-papers',
      component: () => import('@/views/manuscripts/complaint-papers'),
      name: 'CoupleBackManuscript',
      meta: { title: '投诉稿件', noCache: true }
    }
  ]
}

export default manuscriptsRouter
